package cn.com.wangluotongxin.database.eureka.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class ReleaseDatabaseForm implements Serializable {

    @ApiModelProperty("同步数据库信息ID")
    private Integer syncDatabaseId;

    @ApiModelProperty("资源库 1.MYSQL 2.ORACLE 3.SQL_SERVER")
    private Integer databaseType;

    @ApiModelProperty("域名")
    private String domain;

    @ApiModelProperty("端口")
    private Integer port;

    @ApiModelProperty("数据库名")
    private String databaseName;

    @ApiModelProperty("账号")
    private String username;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("登录用户ID")
    private Integer userId;
}
